<template>
<div class="screen-container">
  <div class="left-text-box">
    <h3>ABOUT US</h3>
    <h4>We Are Trusted Logistics Company Since 1990</h4>
    <div class="text-line-box">
      <div class="icon-box">
        <IconEarth />
      </div>
      <div class="text-box">
        <h5>Worldwide Service</h5>
        <p>Diam dolor ipsum sit amet eos erat ipsum lorem sed stet lorem sit clita duo justo magna erat amet</p>
      </div>
    </div>
    <div class="text-line-box">
      <div class="icon-box">
        <IconTruck />
      </div>
      <div class="text-box">
        <h5>On Time Delivery</h5>
        <p>Diam dolor ipsum sit amet eos erat ipsum lorem sed stet lorem sit clita duo justo magna erat amet</p>
      </div>
    </div>
    <div class="text-line-box">
      <div class="icon-box">
        <ep-Headset />
      </div>
      <div class="text-box">
        <h5>24/7 Telephone Support</h5>
        <p>Diam dolor ipsum sit amet eos erat ipsum lorem sed stet lorem sit clita duo justo magna erat amet</p>
      </div>
    </div>
  </div>
  <div class="image-box">
    <img src="/static/picture/feature.jpg" alt="">
  </div>
</div>
</template>

<script setup>
import IconEarth from '~icons/my-icons/earth'
import IconTruck from '~icons/my-icons/truck'

</script>

<style lang="scss" scoped>
$base-color: #ff3e41;
.screen-container {
  height: 470px;
  display: flex;

  .left-text-box {
    position: relative;
    width: 50%;
    padding-left: 34px;
    text-align: left;
  
    h3 {
      font-size: 18px;
      color: #51CFED;
    }
  
    h4 {
      padding-top: 12px;
      font-size: 42px;
      line-height: 45px;
      padding-bottom: 12px;
    }
  
    p {
      font-size: 18px;
      color: gray;
    }
  }

  .text-line-box {
    margin-top: 37px;
    display: flex;

    .icon-box svg {
      width: 48px;
      height: 48px;
      color: $base-color;
    }

    .text-box {
      width: 570px;
      padding-left: 18px;

      h5 {
        font-size: 18px;
        margin-bottom: 12px;
      }
    }
  }

  .image-box {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding-left: 36px;
    overflow: hidden;

    img {
      width: 100%;
    }
  }

}
</style>
